home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 5.5 KB | 295 lines | [TEXT/CWIE] |
- #include "types.r"
- resource 'MENU' (128, "apple menu", preload) {
- 128,
- textMenuProc,
- 0x7FFFFFFD,
- enabled,
- apple,
- { /* array: 2 elements */
- /* [1] */
- "About", noIcon, noKey, noMark, plain,
- /* [2] */
- "-", noIcon, noKey, noMark, plain
- }
- };
-
- resource 'MENU' (129, "file menu", preload) {
- 129,
- textMenuProc,
- 0xE00,
- enabled,
- "File",
- { /* array: 10 elements */
- /* [1] */
- "New", noIcon, "N", noMark, plain,
- /* [2] */
- "Open", noIcon, "O", noMark, plain,
- /* [3] */
- "Close", noIcon, "W", noMark, plain,
- /* [4] */
- "Save", noIcon, "S", noMark, plain,
- /* [5] */
- "Save As...", noIcon, noKey, noMark, plain,
- /* [6] */
- "-", noIcon, noKey, noMark, plain,
- /* [7] */
- "Page Setup...", noIcon, noKey, noMark, plain,
- /* [8] */
- "Print...", noIcon, "P", noMark, plain,
- /* [9] */
- "-", noIcon, noKey, noMark, plain,
- /* [10] */
- "Quit", noIcon, "Q", noMark, plain
- }
- };
-
- resource 'MENU' (130, "edit menu", preload) {
- 130,
- textMenuProc,
- 0x3400,
- enabled,
- "Edit",
- { /* array: 6 elements */
- /* [1] */
- "Undo", noIcon, "Z", noMark, plain,
- /* [2] */
- "-", noIcon, noKey, noMark, plain,
- /* [3] */
- "Cut", noIcon, "X", noMark, plain,
- /* [4] */
- "Copy", noIcon, "C", noMark, plain,
- /* [5] */
- "Paste", noIcon, "V", noMark, plain,
- /* [6] */
- "Clear", noIcon, noKey, noMark, plain
- }
- };
-
- resource 'MENU' (131, "test menu") {
- 131,
- textMenuProc,
- 0x7FFFFFFD,
- enabled,
- "Test Stuff",
- { /* array: 2 elements */
- /* [1] */
- "Add a Res Type...", noIcon, noKey, noMark, plain,
- /* [2] */
- "-", noIcon, noKey, noMark, plain
- }
- };
-
- resource 'DITL' (132, "none of this type ditl", purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {70, 150, 90, 208},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {10, 90, 65, 328},
- StaticText {
- disabled,
- "No resources of type \"^0\" in this file! "
- "Try a different type."
- }
- }
- };
-
- resource 'DITL' (131, "get type ditl", purgeable) {
- { /* array DITLarray: 4 elements */
- /* [1] */
- {90, 140, 110, 198},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {90, 60, 110, 118},
- Button {
- enabled,
- "Cancel"
- },
- /* [3] */
- {0, 3, 48, 238},
- StaticText {
- disabled,
- "What type of resource would you like add"
- "ed to the 'Test' menu?"
- },
- /* [4] */
- {50, 97, 68, 143},
- EditText {
- enabled,
- "DLOG"
- }
- }
- };
-
- resource 'DITL' (130, "bad sys ditl", purgeable) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {80, 100, 100, 158},
- Button {
- enabled,
- "Exit"
- },
- /* [2] */
- {10, 80, 27, 237},
- StaticText {
- disabled,
- "Bad System Version!"
- },
- /* [3] */
- {50, 25, 66, 232},
- StaticText {
- disabled,
- "Requires System 7 or greater."
- }
- }
- };
-
- resource 'DITL' (128, "about ditl", purgeable) {
- { /* array DITLarray: 5 elements */
- /* [1] */
- {164, 115, 184, 185},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {5, 10, 37, 164},
- StaticText {
- disabled,
- "The Simplest Shell"
- },
- /* [3] */
- {76, 3, 154, 301},
- StaticText {
- disabled,
- "FredWare from Apple Developer Technical "
- "Support, ADS group.\nCopyright © 1991-19"
- "92 Apple Computer Inc.\nWritten by C.K. H"
- "aun <TR>."
- },
- /* [4] */
- {53, 82, 71, 227},
- StaticText {
- disabled,
- "version 1.0d3"
- },
- /* [5] */
- {10, 270, 42, 302},
- Icon {
- disabled,
- 128
- }
- }
- };
-
- resource 'DITL' (129, "help ditl", purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {170, 90, 190, 148},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {10, 40, 62, 204},
- StaticText {
- disabled,
- "Help information should go here"
- }
- }
- };
-
- data 'ALRT' (132, "none of type", purgeable) {
- $"0028 0028 008D 0177 0084 5555" /* .(.(.ç.w.ÑUU */
- };
-
- data 'ALRT' (128, "about dlog", purgeable) {
- $"0028 0028 00E5 016B 0080 4444" /* .(.(...k.ÄDD */
- };
-
- data 'ALRT' (130, "bad sys dlog", purgeable) {
- $"0028 0028 0095 0128 0082 5555" /* .(.(.ï.(.ÇUU */
- };
-
- data 'DLOG' (129, "MetaChars ^/(!", purgeable) {
- $"0022 0028 00EA 0118 0001 0100 0100 0000" /* .".(............ */
- $"0000 0081 00" /* ...Å. */
- };
-
- data 'DLOG' (131, "ResType /3", purgeable) {
- $"0028 0028 00AA 0118 0001 0100 0100 0000" /* .(.(.™.......... */
- $"0000 0083 00" /* ...É. */
- };
-
- resource 'MBAR' (128) {
- { /* array MenuArray: 4 elements */
- /* [1] */
- 128,
- /* [2] */
- 129,
- /* [3] */
- 130,
- /* [4] */
- 131
- }
- };
-
- data 'WIND' (128, "my window", purgeable) {
- $"0028 0028 0136 023C 0008 0100 0100 0000" /* .(.(.6.<........ */
- $"0000 0653 696D 706C 65" /* ...Simple */
- };
-
- resource 'SIZE' (-1, "SIZE") {
- reserved,
- acceptSuspendResumeEvents,
- reserved,
- canBackground,
- multiFinderAware,
- backgroundAndForeground,
- dontGetFrontClicks,
- ignoreChildDiedEvents,
- is32BitCompatible,
- isHighLevelEventAware,
- localAndRemoteHLEvents,
- notStationeryAware,
- dontUseTextEditServices,
- reserved,
- reserved,
- reserved,
- 100000,
- 100000
- };
-
- resource 'STR ' (128, "help string") {
- "Simple Help..."
- };
-
- resource 'STR#' (128) {
- { /* array StringArray: 3 elements */
- /* [1] */
- "UnNamed",
- /* [2] */
- "Unused",
- /* [3] */
- "Unloved"
- }
- };
-
- resource 'ICON' (128) {
- $"0007 F000 001C 1C00 0030 0600 0040 0900"
- $"0EAC CC80 09A9 B7C0 0D6D 3570 1F00 0170"
- $"1200 0030 127C 3E2C 3C0C B01F 2405 2018"
- $"6401 0018 7402 0036 140E 0032 3C18 0032"
- $"2C1F C011 2C00 0019 2455 541F 4655 543C"
- $"4640 0434 2B5F FC76 1940 0456 19D5 54D4"
- $"18D5 55B2 1C55 5512 3875 5612 785D 5C11"
- $"D857 F40D A854 5405 B850 1404 F040 0404"
- };
-
-